Skip to content

Conversation

manvith12
Copy link

Closes #1085

Added semver to dependencies for reliable semantic-version parsing/comparison.

Usage:

import semver from 'semver';
console.log(semver.gt('1.3.0', '1.2.3')); // true
  • package-lock updated
  • tests passed locally

@antongolub
Copy link
Collaborator

No doubt, semver is useful for CICD automations, but it requires extra ~100Kb. Probably we could provide a weak ref for the API (npm brings it as a part of own assets).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Add semver package
2 participants